#!/usr/local/bin/python3

class Helpers(object):
    
    @staticmethod
    def process(message):
        # A message has a typical format of <prefix:alias:command> or
        # some variation of. This method grabs it, strips any 
        # white-space, then tokenizes it. It returns a
        #
        if type(message) == str:
            msg = message.strip()
            if msg.startswith("<") and msg.endswith(">"):
                msg = msg.strip("<>")
                msg = msg.split(":")
                return msg
            else:
                return None
        else: 
            return None